Skip to content

workorders: add ;continue to resume an in-progress order from the logbook - #1

Closed
simtel12 wants to merge 1 commit into
craft-workorders-fixesfrom
workorders-continue
Closed

workorders: add ;continue to resume an in-progress order from the logbook#1
simtel12 wants to merge 1 commit into
craft-workorders-fixesfrom
workorders-continue

Conversation

@simtel12

@simtel12 simtel12 commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds ;workorders <discipline> continue to resume an in-progress work order by reading the discipline logbook, instead of canceling and re-requesting one (e.g. after a disconnect). Recovers the recipe and remaining quantity from the logbook text, and skips straight to turn-in when the logbook reports the order already complete.

Stacked on elanthia-online#7514 since resume_work_order relies on logbook_remaining, added there. Opened against this fork's craft-workorders-fixes branch to keep the diff isolated to just this feature; will retarget to elanthia-online:main once elanthia-online#7514 merges.

Test plan

  • rspec spec/workorders_spec.rb passes (106 examples, 0 failures)
  • ruby -c workorders.lic syntax check clean

…book

Reads the discipline logbook to recover the item and remaining quantity
of an order already accepted (e.g. after a disconnect), instead of
canceling and re-requesting one. Skips straight to turn-in when the
logbook reports the order already complete.
@simtel12

simtel12 commented Aug 9, 2026

Copy link
Copy Markdown
Owner Author

Retargeting to elanthia-online/dr-scripts:main directly instead of stacking on the fork's craft-workorders-fixes branch.

@simtel12 simtel12 closed this Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant